Optimal. Leaf size=119 \[ \frac {64 a^3 \sqrt {\sec (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{15 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {3894, 3889}
\begin {gather*} \frac {64 a^3 \sin (c+d x) \sqrt {\sec (c+d x)}}{15 d \sqrt {a \sec (c+d x)+a}}+\frac {16 a^2 \sin (c+d x) \sqrt {a \sec (c+d x)+a}}{15 d \sqrt {\sec (c+d x)}}+\frac {2 a \sin (c+d x) (a \sec (c+d x)+a)^{3/2}}{5 d \sec ^{\frac {3}{2}}(c+d x)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rule 3894
Rubi steps
\begin {align*} \int \frac {(a+a \sec (c+d x))^{5/2}}{\sec ^{\frac {5}{2}}(c+d x)} \, dx &=\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {1}{5} (8 a) \int \frac {(a+a \sec (c+d x))^{3/2}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx\\ &=\frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{15 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}+\frac {1}{15} \left (32 a^2\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx\\ &=\frac {64 a^3 \sqrt {\sec (c+d x)} \sin (c+d x)}{15 d \sqrt {a+a \sec (c+d x)}}+\frac {16 a^2 \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{15 d \sqrt {\sec (c+d x)}}+\frac {2 a (a+a \sec (c+d x))^{3/2} \sin (c+d x)}{5 d \sec ^{\frac {3}{2}}(c+d x)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.33, size = 64, normalized size = 0.54 \begin {gather*} \frac {a^2 (89+28 \cos (c+d x)+3 \cos (2 (c+d x))) \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{15 d \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 85, normalized size = 0.71
method | result | size |
default | \(-\frac {2 \left (3 \left (\cos ^{3}\left (d x +c \right )\right )+11 \left (\cos ^{2}\left (d x +c \right )\right )+29 \cos \left (d x +c \right )-43\right ) \sqrt {\frac {a \left (1+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}\, \left (\cos ^{3}\left (d x +c \right )\right ) \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {5}{2}} a^{2}}{15 d \sin \left (d x +c \right )}\) | \(85\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 60, normalized size = 0.50 \begin {gather*} \frac {{\left (3 \, \sqrt {2} a^{2} \sin \left (\frac {5}{2} \, d x + \frac {5}{2} \, c\right ) + 25 \, \sqrt {2} a^{2} \sin \left (\frac {3}{2} \, d x + \frac {3}{2} \, c\right ) + 150 \, \sqrt {2} a^{2} \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right )} \sqrt {a}}{30 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.46, size = 87, normalized size = 0.73 \begin {gather*} \frac {2 \, {\left (3 \, a^{2} \cos \left (d x + c\right )^{3} + 14 \, a^{2} \cos \left (d x + c\right )^{2} + 43 \, a^{2} \cos \left (d x + c\right )\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{15 \, {\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.83, size = 85, normalized size = 0.71 \begin {gather*} \frac {a^2\,\cos \left (c+d\,x\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}\,\left (175\,\sin \left (c+d\,x\right )+28\,\sin \left (2\,c+2\,d\,x\right )+3\,\sin \left (3\,c+3\,d\,x\right )\right )}{30\,d\,\left (\cos \left (c+d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________